﻿using System;

/// <summary>
/// Summary description for UserSIRTravel
/// </summary>
/// 
namespace CE.User
{
    public class UserSIRTravel
    {
        public UserSIRTravel()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        private Int64 _sirtravelid;
        private string _fullname;
        private string _email;
        private string _mobilenumber;
        private Int16 _remindermonth;
        private bool _status;
        private DateTime _createddate;

        public Int64 SIRTravelID
        {
            get { return _sirtravelid; }
            set { _sirtravelid = value; }
        }

        public string FullName
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string MobileNumber
        {
            get { return _mobilenumber; }
            set { _mobilenumber = value; }
        }

        public Int16 ReminderMonth
        {
            get { return _remindermonth; }
            set { _remindermonth = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }


        public void ClearFields()
        {
            _sirtravelid = 0;
            _fullname = "";
            _email = "";
            _mobilenumber = "";
            _remindermonth = 0;
            //common field name
            _status = false;
            _createddate = new DateTime(1900, 1, 1);


        }
    }
}
